﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Setting.Master" AutoEventWireup="true" CodeBehind="MyAdPosition.aspx.cs" Inherits="WebSite.UserAd.MyAdPosition" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<title>友赢网 - 个人中心 - 我的广告位</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="w-780">
<h2>我的广告位</h2>
 <p class="t1">提示：拥有属于自己的广告位，上传自己的广告，如果自己没有广告，将会显示系统广告，系统广告被点击您将获得广告分成。更多请查看“<a href="http://www.youbewin.com/help/help.aspx" target="_blank">帮助中心</a>”</p>
<ul class="formSet mt5">
    <asp:Repeater ID="rptAdPosition" runat="server" 
        onitemcommand="rptAdPosition_ItemCommand">
    <HeaderTemplate>
    <table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#cccfd1" bgcolor="#CCCFD1">
<tr align="center">
<td height="30" align="center" bgcolor="#E1E1E1" width="4%"><span class="STYLE4">序号</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="25%"><span class="STYLE4">广告位</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="12%"><span class="STYLE4">价格（友赢豆）</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="10%"><span class="STYLE4">规格</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="15%"><span class="STYLE4">购买日期</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="15%"><span class="STYLE4">到期日期</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="14%"><span class="STYLE4">操作</span></td>
</tr>
    </HeaderTemplate>
    <ItemTemplate>
    <tr>
<td height="30" align="center" bgcolor="#FFFFFF"><%# Container.ItemIndex+1%></td>
<td height="30" align="center" bgcolor="#FFFFFF"><a href="<%#Eval("LinkURL")%>" target="_blank"><%#Eval("AdPositionName")%></a></td>
<td height="30" align="center" bgcolor="#FFFFFF"><font color="red"><%#Eval("strPrice")%></font></td>
<td height="30" align="center" bgcolor="#FFFFFF"><%#Eval("Remark")%></td>
<td height="30" align="center" bgcolor="#FFFFFF"><%#Eval("strUserAdBeginDate")%></td>
<td height="30" align="center" bgcolor="#FFFFFF"><%#Eval("strUserAdEndDate")%></td>
<td height="30" align="center" bgcolor="#FFFFFF">
    <asp:HiddenField ID="hidID" runat="server" Value='<%#Eval("ID") %>'/>
    <asp:HiddenField ID="hidUserAdPositionID" runat="server" Value='<%#Eval("UserAdPositionID") %>'/>
    <asp:HiddenField ID="hidAdPositionName" runat="server" Value='<%#Eval("AdPositionName") %>'/>
    <asp:HiddenField ID="hidOrders" runat="server" Value='<%#Eval("Orders") %>'/>
    <asp:HiddenField ID="hidPrice" runat="server" Value='<%#Eval("Price") %>'/>
    <asp:HiddenField ID="hidStatus" runat="server" Value='<%#Eval("Status") %>'/>
    <asp:LinkButton ID="lbReBuy" runat="server" CommandName="rebuy">续费</asp:LinkButton>
    <asp:LinkButton ID="lbBuy" runat="server" CommandName="buy">购买</asp:LinkButton>
    <a href="<%#Eval("LinkURL")%>" target="_blank">详细介绍</a>
</td>
</tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
       </ul>                                                         
</div>
</asp:Content>
